package cn.cscb.mms.common.constant;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 字典型枚举
 *
 * @author Gao Yipeng
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum Dict {
    /**
     * 字典型枚举，对应s_dic表
     */
    YES("1", "是", "YES_OR_NO", "是/否"),
    NO("2", "否", "YES_OR_NO", "是/否"),
    ORG_SUB_BRANCH_A1("011", "A1支行", "S_ORG", "机构号"),
    ORG_SUB_BRANCH_A2("012", "A2支行", "S_ORG", "机构号"),
    ORG_BRANCH_B1("021", "B1分行", "S_ORG", "机构号"),
    ORG_BRANCH_B2("022", "B2分行", "S_ORG", "机构号"),
    ORG_BRANCH_A("010", "A分行", "S_ORG", "机构号"),
    ORG_BRANCH_B("020", "B分行", "S_ORG", "机构号"),
    ORG_HEAD_OFFICE("000", "总行", "S_ORG", "机构号"),
    DUTY_ACCOUNT_MANAGER("01", "客户经理", "S_DUTY", "岗位"),
    DUTY_ADMINISTRATOR("02", "管理者", "S_DUTY", "岗位"),
    MARK_DEPOSIT("01", "存款业务", "MARK_TYPE", "商机"),
    MARK_LOAN("02", "贷款业务", "MARK_TYPE", "商机"),
    MARK_STATUS_UNCLAIMED("01", "未认领", "MARK_STATUS", "商机状态"),
    MARK_STATUS_MARKETTING("02", "营销中", "MARK_STATUS", "商机状态"),
    MARK_STATUS_SUCCESS("03", "营销成功", "MARK_STATUS", "商机状态"),
    MARK_STATUS_FAILED("04", "营销失败", "MARK_STATUS", "商机状态"),
    RECORD_STATE_VALID("01", "有效", "STATE", "逻辑删除状态"),
    RECORD_STATE_INVALID("02", "无效", "STATE", "逻辑删除状态");


    private String cnName;
    private String enName;
    private String optType;
    private String memo;


}
